﻿@charset "UTF-8";

/* CSS Style sheet of TDB2026(MARTES 21 ABRIL).fet
   Style sheet generated with FET 7.8.4 on 23/4/26 17:48 */

/* Para crear una nueva página después de cada segundo horario, borre "page-break-before: always;" en "table.even_table". */
/* Borrar "page-break-before: always;" en "table.even_table" y en "table.odd_table" para evitar saltos de página. */
/* Para ocultar un elemento simplemente escriba la siguiente frase en el elemento: "display: none;" (sin las comillas). */

/* =========================
   RESET Y BASE
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background: #f5f7fb;
    color: #2c3e50;
    padding: 25px;
    line-height: 1.5;
}

/* =========================
   TIPOGRAFÍA
========================= */
h1, h2, h3 {
    font-weight: 600;
    color: #1f3c88;
}

p {
    margin-bottom: 15px;
}

/* =========================
   TABLAS GENERALES
========================= */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

/* Primera y segunda tabla (info superior) */
table:nth-of-type(1),
table:nth-of-type(2) {
    width: 60%;
}

/* Encabezados */
th {
    background: linear-gradient(135deg, #1f3c88, #2e5bcc);
    color: #ffffff;
    text-align: left;
    padding: 12px;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

/* Celdas */
td {
    padding: 11px 12px;
    border-bottom: 1px solid #eef1f5;
}

/* Primera columna (labels) */
th:first-child {
    width: 220px;
}

/* Filas alternas */
tbody tr:nth-child(even) {
    background: #f8faff;
}

/* Hover elegante */
tbody tr:hover {
    background: #eef3ff;
    transition: background 0.2s ease;
}

/* =========================
   TABLA PRINCIPAL
========================= */
table[border="1"] {
    border: none;
}

table[border="1"] thead tr:first-child td {
    background: #ffffff;
    border: none;
}

/* Sub-encabezado */
thead tr:nth-child(2) th {
    background: #344fa1;
    font-size: 0.9rem;
}

/* Caption */
caption {
    caption-side: top;
    text-align: left;
    font-size: 1.4rem;
    font-weight: 600;
    color: #1f3c88;
    padding: 15px 5px;
}

/* =========================
   LINKS COMO BOTONES
========================= */
a {
    color: #1f3c88;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

/* Botón automático en tabla principal */
table[border="1"] a {
    display: inline-block;
    background: #eaf0ff;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

table[border="1"] a:hover {
    background: #1f3c88;
    color: #fff;
}

/* Links normales */
p a {
    margin-right: 10px;
}

p a:hover {
    text-decoration: underline;
}

/* =========================
   SECCIÓN DE LINKS (ARRIBA)
========================= */
p {
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* =========================
   FOOTER
========================= */
.foot td {
    text-align: center;
    font-size: 0.85rem;
    color: #6c7a89;
    background: #f1f3f7;
    padding: 12px;
}

/* =========================
   DETALLES FINOS
========================= */

/* Separación entre bloques */
table + table {
    margin-top: 10px;
}

/* Mejor alineación */
td, th {
    vertical-align: middle;
}

/* Responsive básico */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    table:nth-of-type(1),
    table:nth-of-type(2) {
        width: 100%;
    }

    th, td {
        font-size: 0.85rem;
        padding: 8px;
    }
}

/* =========================
   MATRIZ DINÁMICA (FET)
========================= */

td {
    transition: all 0.2s ease;
}

/* Celda con contenido */
td.has-class {
    color: #1a1a1a;
    font-weight: 500;
    border-radius: 4px;
}

/* Hover más visible */
td.has-class:hover {
    transform: scale(1.02);
    z-index: 2;
}

/* Texto interno */
td small {
    display: block;
    font-size: 0.75em;
    opacity: 0.8;
}
/* =========================
   CENTRADO GLOBAL
========================= */

/* Texto general */
body {
    text-align: center;
}

/* Tablas */
table {
    text-align: center;
}

/* Encabezados y celdas */
th, td {
    text-align: center;
    vertical-align: middle;
}

/* Párrafos */
p {
    text-align: center;
}

/* Caption */
caption {
    text-align: center;
}

/* Links */
a {
    text-align: center;
}

/* Forzar centrado incluso en primera columna */
td:first-child,
th:first-child {
    text-align: center;
}
ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;

    display: flex;
    flex-wrap: wrap;      /* permite que bajen si no caben */
    gap: 10px;            /* espacio entre elementos */
    justify-content: center; /* centrado horizontal */
}

li {
    display: inline-block;
}
/* =========================
   CURSOS EN NEGRITA
========================= */

/* Hace que el bloque tenga mejor jerarquía */
td {
    line-height: 1.4;
}

/* Primera línea más fuerte (curso) */
td {
    font-weight: 500;
}

/* Si usas saltos de línea (FET típico) */
td::first-line {
    font-weight: 700;
}